package com.cxf.cxfknife4j.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * description: 需要登录才能进行操作的注解 <br>
 * date: 2022/3/9 21:57 <br>
 * author: cxf <br>
 * version: 1.0 <br>
 * @author chen
 */

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface UserLoginToken {

    boolean required() default true;
}

